# note/url.py

from django.urls import path, re_path
from . import views
from note.views import IndexNoteView, NoteHrefView, NewNoteView

app_name = 'note'
urlpatterns = [
    path('', IndexNoteView.as_view(), name='index-note'),
    re_path('note/(?P<note_id>\d+)/', NoteHrefView.as_view(), name='note_page'),
    path('edit/', NewNoteView.as_view(), name='note_edit'),
    path('edit/action', NewNoteView.as_view(), name='note_edit_action'),
    path('note_comment_action', views.note_comment_action, name='note_comment_action'),

]
